﻿using System;
using SqlSugar;

namespace NP.BPMReportPlatform.Entities.BPM_Platform
{
    /// <summary>
    /// 字典表
    /// </summary>
    [SugarTable("Dictionaries")]
    public class Dictionaries
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public Guid DictionaryId { get; set; }

        /// <summary>
        /// 字典编码
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 字典名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 字典值
        /// </summary>
        public string Value { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        public int? OrderNum { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public int? Status { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 父Id
        /// </summary>
        public Guid? UpperId { get; set; }

        /// <summary>
        /// 分组编码
        /// </summary>
        public string TypeCode { get; set; }

        /// <summary>
        /// 分组名称
        /// </summary>
        public string TypeName { get; set; }

        /// <summary>
        /// 创建人Id
        /// </summary>
        public Guid? CreateUserId { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateDate { get; set; }

        /// <summary>
        /// 修改人
        /// </summary>
        public Guid? ModifyUserId { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? ModifyDate { get; set; }
    }
}